package edu.sctu.xiangkun.day201505.day20150504.text;

/**
 * Created by user21 on 2015/5/3.
 */
public class TextSix {
    public static void main(String[] args) {


        TextSeven textseven1 = new TextSeven("王二",21,1994);


        TextSeven  textseven2 = new TextSeven("张三",20,1995);


        TextSeven  textseven3 = new TextSeven("刘毅",21,1994);


        TextSeven[] use = {textseven1,textseven2,textseven3};

        printArray(use);
    }

    public static void printArray(TextSeven[] use) {

        for (int i = 0; i < use.length; i++) {
            System.out.println(use[i].name+" "+use[i].age+" "+use[i].born);

        }
    }
}
